import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      redirect: "/transition"
    },
    {
      path: "/transition",
      component: () => import("@/view/tranition.vue")
    },
    {
      path: "/jsTransition",
      component: () => import("@/view/javascript_tranition.vue")
    },
    {
      path: "/more",
      component: () => import("@/view/more_transition.vue")
    },
    {
      path: "/more_components",
      component: () => import("@/view/more_components_transition.vue")
    },
    {
      path: "/list_transition_group",
      component: () => import("@/view/list_transition_group.vue")
    }
  ]
});
